package syllabus.commons;

/**
 * jquery-easyui分页请求对象
 * 
 * @author Tian
 * 
 */
public class ExtPager {

	/**
	 * jquery-easyui 页面端只提交post这四个参数
	 */
	private Integer page;
	private Integer rows;
	
	/**
	 * 大写的ASC or DESC
	 */
	private String order;
	/**
	 * 排序的字段
	 */
	private String sort;


	public String getSort() {
		// TODO:先转化
		return Table.toClumn(sort);
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
	

}
